<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page import="com.hengpeng.itfints.tools.PageUtil" %>
<%@include file="/page/common/public.jspf"%>
<% 
	PageUtil pageUtil = (PageUtil)request.getAttribute("PageUtil");
%>
<!DOCTYPE HTML>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>会员中心-我发起的投递</title>
<link rel="stylesheet" type="text/css" href="${path}/css/base.css"/>
<link rel="stylesheet" type="text/css" href="${path}/css/layout.css"/>
<link href="${skin }/member.css" rel="stylesheet" type="text/css" />
<script src="${path }/js/common/jquery1.10.2.min.js"></script>
<script src="${path }/js/common/helper.js?v=${v}"></script>
<script src="${path }/js/common/cookie.js?v=${v}"></script>
</head>
<body bgcolor="#f9f9f9">
	<div class="wrapper">
        <!-- head -->
		<c:import url="../../include/top.jsp"></c:import>
    	<!--主体-->
        <div class="pageCenter registeredBox">
        	<div class="qyMsgBox">
        		<!--左边菜单  -->
            	<c:import url="../left.jsp"></c:import>
            	<!--左边菜单  -->
                <div class="qyMsgRight float_r">
							<div class="line_EAEAEA auto_height" style="background: #fff;margin-bottom: 20px;">
								<ul class="account_item_title">
									<li style="text-align:center;width:196px;">项目名称</li>
									<li style="text-align:center;width:166px;">项目方联系人名称</li>
									<li style="text-align:center;width:126px;">项目方联系电话</li>
									<li style="text-align:center;width:126px;">项目方邮箱</li>
									<li style="text-align:center;width:196px;">约谈说明</li>
								</ul>
								<c:choose> 
								     <c:when test="${fn:length(dataList) > 0}"> 
								      		<c:forEach items="${dataList}" var="project" begin="<%=pageUtil.getFromIndex()%>" end="<%=pageUtil.getToIndex() %>" varStatus="vstatus">
										  				<ul class="account_item_title2">
															<li style="text-align:center;width:196px;">
																	<c:choose> 
																	     <c:when test="${fn:length(project.projectname) > 6}"> 
																	      	<c:out value="${fn:substring(project.projectname, 0, 6)}..." /> 
																	     </c:when> 
																	     <c:otherwise> 
																	      	<c:out value="${project.projectname}" /> 
																	     </c:otherwise>
																    </c:choose>
															</li>
															<li style="text-align:center;width:166px;">${project.startUserName}</li>
															<li style="text-align:center;width:126px;">
															${project.linkmobile}
															</li>
															<li style="text-align:center;width:126px;">
															${project.linkemail}
															</li>
															<li style="text-align:center;width:196px;">
															${project.bc}
															</li>
														</ul>
											</c:forEach>  
								     </c:when> 
								     <c:otherwise> 
								      		<div class="s_13">
												<div style="line-height: 60px; font-size: 16px; text-align: center;">暂无记录</div>
											</div>
								     </c:otherwise>
							    </c:choose>
								<div class="clearfix section"></div>
								
							<div class="paginations">
								<div class="page-bottom">
									记录总数<%=pageUtil.getTotalCount()%>条 当前页/总页数<%=pageUtil.getCurrentPage()%> 
									/<%=pageUtil.getPageCount()%>每页显示<%=pageUtil.getPageSize()%>条 
									<a onclick="javascript:go(1);" href="javascript:void(0);" name="pagebar_frist" class="page-start"><span>首页</span></a> 
									<a onclick="javascript:go(<%=(pageUtil.getCurrentPage() - 1)%>);" href="javascript:void(0);" name="pagebar_pre" class="page-prev"><span>上一页</span></a> 
									<a onclick="javascript:go(<%=(pageUtil.getCurrentPage() + 1)%>);" href="javascript:void(0);" name="pagebar_next" class="page-next"><span>下一页</span></a> 
									<a onclick="javascript:go(<%=pageUtil.getPageCount()%>);" href="javascript:void(0);" name="pagebar_last" class="page-end"><span>末页</span></a> 
								</div>
							</div>
                </div>
                <div class="clear_both"></div> 
         	</div>       
        </div>
    	<!--主体-->
    	<!--foot-->
        <c:import url="../../include/foot.jsp"></c:import>
        <!--foot--> 
	</div>
<script type="text/javascript">
	function go (page) {
		window.location.href = "<%=request.getContextPath()%>/project/myorderList.htm?curPage="+page+"";
	}
</script>    
</body>
</html>

